package com.yitao.client.dto.order;

import com.skipper.base.dto.BaseDtoWithId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 *
 *  @author skipper
 *  @date 2019-01-07
 *  @desc  如该dto不需要id继承 BaseDto 即可 如需id 则根据情况选择  BaseDtoWithId  或 BaseDtoWithStringId
 *  @see
 */

public class MallOrderDeliveryDto extends BaseDtoWithId {


    /**
     * 物流类型 1:普快递配送 2:自营配送(无实时物流信息)
     */
    @ApiModelProperty("物流类型 1:普快递配送 2:自营配送(无实时物流信息)")
    private Integer deliveryType;


    /**
     * 关联的订单id
     */
    @ApiModelProperty("关联的订单id")
    private Long orderId;


    /**
     * 关联的订单code 冗余字段
     */
    @ApiModelProperty("关联的订单code 冗余字段")
    private String orderOrder;


    /**
     * 物流公司代号
     */
    @ApiModelProperty("物流公司代号")
    private String deliveryCompanyCode;


    /**
     * 物流公司名称
     */
    @ApiModelProperty("物流公司名称")
    private String deliveryCompanyName;


    /**
     * 物流单号名称
     */
    @ApiModelProperty("物流单号名称")
    private String deliveryNo;


    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    private Boolean isDelete;


    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;


    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private Long lastUpdateBy;


    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date lastUpdateTime;

    @ApiModelProperty("店铺id")
    private Long shopId;

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(Integer deliveryType) {
        this.deliveryType = deliveryType;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderOrder() {
        return orderOrder;
    }

    public void setOrderOrder(String orderOrder) {
        this.orderOrder = orderOrder;
    }

    public String getDeliveryCompanyCode() {
        return deliveryCompanyCode;
    }

    public void setDeliveryCompanyCode(String deliveryCompanyCode) {
        this.deliveryCompanyCode = deliveryCompanyCode;
    }

    public String getDeliveryCompanyName() {
        return deliveryCompanyName;
    }

    public void setDeliveryCompanyName(String deliveryCompanyName) {
        this.deliveryCompanyName = deliveryCompanyName;
    }

    public String getDeliveryNo() {
        return deliveryNo;
    }

    public void setDeliveryNo(String deliveryNo) {
        this.deliveryNo = deliveryNo;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}